
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '组织人员',
    enableValidate: false
})

@Injectable()
export class RightDataGridComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'code',
        name: "{{code_7937c32b_9mgd}}",
        binding: 'code',
        updateOn: 'blur',
        defaultI18nValue: '编号',
    })
    code: FormControl;

    @NgFormControl({
        id: 'name',
        name: "{{name_bf3d8cd8_p7f9}}",
        binding: 'name',
        updateOn: 'blur',
        defaultI18nValue: '名称',
    })
    name: FormControl;

    @NgFormControl({
        id: 'state',
        name: "{{state_1575cb59_vcxe}}",
        binding: 'state',
        updateOn: 'blur',
        defaultI18nValue: '状态',
    })
    state: FormControl;

    @NgFormControl({
        id: 'organization',
        name: "{{organization_80717464_7gog}}",
        binding: 'organization',
        updateOn: 'blur',
        defaultI18nValue: '组织',
    })
    organization: FormControl;

    @NgFormControl({
        id: 'gender',
        name: "{{gender_b09392c1_kcx0}}",
        binding: 'gender',
        updateOn: 'blur',
        defaultI18nValue: '性别',
    })
    gender: FormControl;

    @NgFormControl({
        id: 'countryOrArea',
        name: "{{countryOrArea_36c4a6a7_k5gd}}",
        binding: 'countryOrArea',
        updateOn: 'blur',
        defaultI18nValue: '所属国家或地区',
    })
    countryOrArea: FormControl;

}